Leat\Infrastructure\Repositories\WPEarnRuleRepository S

Total Complexity 26
Dependencies 4
Dependents 1
Total lines 238
Lines of code 131
Logical lines of code 64
Comment lines 65
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
create_or_update()
A
45 7 41
get_applicable_place_order_rule()
S
56 6 19
get_earn_rules_by_type()
S
55 3 21
has_user_claimed_rule()
S
56 2 18
get_by_id()
S
68 3 7
get_rules()
S
61 2 13
is_rule_claimable_once()
S
65 2 8
__construct()
S
77 1 4